package miiteen.demo.web.beans;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import miiteen.common.json.jackson.LongSerialize;
import miiteen.common.utils.FieldMeta;
import miiteen.sys.base.bean.BasePo;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;

public class CommentInfo extends BasePo {



    @FieldMeta(name = "动态ID")
    private long id;

    @FieldMeta(name = "媒体类型id,比如、兰关动态的对应类型ID")
    private String mediaTypeId;

    @FieldMeta(name = "基本信息id，比如兰关动态里面多个动态内容对应的id")
    private String baseInfoId;

    @FieldMeta(name = "批示人工号")
    private String commentJobNo;

    @FieldMeta(name = "批示人职位")
    private String commentPosition;

    @FieldMeta(name = "批示人姓名")
    private String commentPersonName;

    @FieldMeta(name = "批示内容")
    private String commentContent;

    @FieldMeta(name = "批示时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date commentTime;

    @FieldMeta(name = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @FieldMeta(name = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @FieldMeta(name = "批示内容")
    private int delState;


    @FieldMeta(name = "预留字段1")
    private String ylzd1;


    @FieldMeta(name = "预留字段2")
    private int ylzd2;

    @JsonSerialize(using = LongSerialize.class)
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getMediaTypeId() {
        return mediaTypeId;
    }

    public void setMediaTypeId(String mediaTypeId) {
        this.mediaTypeId = mediaTypeId;
    }

    public String getBaseInfoId() {
        return baseInfoId;
    }

    public void setBaseInfoId(String baseInfoId) {
        this.baseInfoId = baseInfoId;
    }

    public String getCommentJobNo() {
        return commentJobNo;
    }

    public void setCommentJobNo(String commentJobNo) {
        this.commentJobNo = commentJobNo;
    }

    public String getCommentPosition() {
        return commentPosition;
    }

    public void setCommentPosition(String commentPosition) {
        this.commentPosition = commentPosition;
    }

    public String getCommentPersonName() {
        return commentPersonName;
    }

    public void setCommentPersonName(String commentPersonName) {
        this.commentPersonName = commentPersonName;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getDelState() {
        return delState;
    }

    public void setDelState(int delState) {
        this.delState = delState;
    }

    public String getYlzd1() {
        return ylzd1;
    }

    public void setYlzd1(String ylzd1) {
        this.ylzd1 = ylzd1;
    }

    public int getYlzd2() {
        return ylzd2;
    }

    public void setYlzd2(int ylzd2) {
        this.ylzd2 = ylzd2;
    }
}
